Function: javaRGB2im

CALL:

DESCRIPTION:

Convert RGB values with transparancy to javaimage

INPUT:

   icon
  

OUTPUT:

  JIMAGE = IM2JAVA(RGB) converts the RGB image RGB to an instance of
    the Java image class, java.awt.Image.
 
    Input-output specs
    ------------------
 
    RGB:  3-D, real, full matrix
          size(RGB,3)==3
          double (NaN values will be interpreted as transparant)
          logical ok but ignored
 
    JIMAGE:  java.awt.Image